/**
 * Copyright (c) 2024 Huawei Technologies Co., Ltd.
 * openUBMC is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *         http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */

#ifndef MC_ENGINE_ERRORS_H
#define MC_ENGINE_ERRORS_H
#include <mc/dbus/error.h>
#include <mc/error_engine.h>

namespace mc::engine::errors {

DECLARE_ERROR(failed);
DECLARE_ERROR(no_memory);
DECLARE_ERROR(service_unknown);
DECLARE_ERROR(name_has_no_owner);
DECLARE_ERROR(no_reply);
DECLARE_ERROR(io_error);
DECLARE_ERROR(bad_address);
DECLARE_ERROR(not_supported);
DECLARE_ERROR(limits_exceeded);
DECLARE_ERROR(access_denied);
DECLARE_ERROR(auth_failed);
DECLARE_ERROR(no_server);
DECLARE_ERROR(timeout);
DECLARE_ERROR(no_network);
DECLARE_ERROR(address_in_use);
DECLARE_ERROR(disconnected);
DECLARE_ERROR(invalid_args);
DECLARE_ERROR(file_not_found);
DECLARE_ERROR(file_exists);
DECLARE_ERROR(unknown_method);
DECLARE_ERROR(unknown_object);
DECLARE_ERROR(unknown_interface);
DECLARE_ERROR(unknown_property);
DECLARE_ERROR(property_read_only);

} // namespace mc::engine::errors

#endif // MC_ENGINE_ERRORS_H
